#ifndef _BLOCK_H_
#define _BLOCK_H_

#include "Statement.h"

class CBlock :public CStatement
{
private:
	int m_count;
	CStatement **m_statements;
	int m_size;
public:
	CBlock();
	~CBlock();

	void addStatement(CStatement *statement);
	int getCount() {return m_count;}
	CStatement *getStatement(int index) {return m_statements[index];}
};

#endif //_BLOCK_H_